<commit_before>package jp.toastkid.yobidashi.editor

import org.junit.Assert.*

/**
 * @author toastkidjp
 */
class ContentHolderServiceTest<commit_msg>refactor #559 Implement ContentHolderService's test.<commit_after>package jp.toastkid.yobidashi.editor

import org.junit.Assert.*
import org.junit.Before
import org.junit.Test

/**
 * @author toastkidjp
 */
class ContentHolderServiceTest {

    private lateinit var contentHolderService: ContentHolderService

    @Before
    fun setUp() {
        contentHolderService = ContentHolderService()
    }

    @Test
    fun test() {
        assertTrue(contentHolderService.isBlank())

        contentHolderService.setContent("tomato")
        assertFalse(contentHolderService.isBlank())
        assertEquals("tomato", contentHolderService.getContent())
    }
}
{'fraction_non_alphanumeric': 0.09913258983890955, 'fraction_numerical': 0.0037174721189591076, 'mean_word_length': 4.081761006289308, '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': '3958587', 'n_tokens_mistral': 239, 'n_tokens_neox': 227, 'n_words': 41}