<commit_before>/*
 * Copyright (c) 2017 - Terahorse
 */

package com.terahorse.zp.client

import com.terahorse.zp.BaseUnitSpec
import com.terahorse.zp.exception.ZPNotSupportedException

class MusicClientFactorySpec extends BaseUnitSpec {

    def "create() - deezer"() {
        expect:
        MusicClientFactory.create(MusicClientType.DEEZER).class == DeezerClient
    }

    def "create() - invalid"() {
        when: "get invalid client"
        MusicClientFactory.create(MusicClientType.SPOTIFY)

        then: "get error"
        thrown(ZPNotSupportedException)
    }

}
<commit_msg>Forcing error to check travis<commit_after>/*
 * Copyright (c) 2017 - Terahorse
 */

package com.terahorse.zp.client

import com.terahorse.zp.BaseUnitSpec
import com.terahorse.zp.exception.ZPNotSupportedException

class MusicClientFactorySpec extends BaseUnitSpec {

    def "create() - deezer"() {
        expect:
        MusicClientFactory.create(MusicClientType.DEEZER).class == DeezerClient
        1 == 2
    }

    def "create() - invalid"() {
        when: "get invalid client"
        MusicClientFactory.create(MusicClientType.SPOTIFY)

        then: "get error"
        thrown(ZPNotSupportedException)
    }

}

{'fraction_non_alphanumeric': 0.10256410256410256, 'fraction_numerical': 0.008271298593879239, 'mean_word_length': 3.143835616438356, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1891507', 'n_tokens_mistral': 395, 'n_tokens_neox': 379, 'n_words': 72}