Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package de.agilecoders.wicket.logging;
 
 import org.junit.Test;
 
 import static org.hamcrest.CoreMatchers.equalTo;
 import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;

public class CollectionTypeTest {
    @Test
    public void singleAsStringIsCorrect() {
        assertThat(..asString(), is(equalTo("single")));
    }
    @Test
    public void sizeAsStringIsCorrect() {
        assertThat(..asString(), is(equalTo("size")));
    }
    @Test
    public void timerAsStringIsCorrect() {
        assertThat(..asString(), is(equalTo("timer")));
    }
    @Test
    public void unloadAsStringIsCorrect() {
        assertThat(..asString(), is(equalTo("unload")));
    }
New to GrepCode? Check out our FAQ X