Skip to content

Instantly share code, notes, and snippets.

@codahale
Created July 10, 2009 04:41
Show Gist options
  • Select an option

  • Save codahale/144245 to your computer and use it in GitHub Desktop.

Select an option

Save codahale/144245 to your computer and use it in GitHub Desktop.
@RunWith(Enclosed.class)
public class ThingTest {
public static class An_Empty_Thing {
private Thing thing;
@Before
public void setup() throws Exception {
this.thing = new Thing();
}
@Test
public void itIsEmpty() {
assertThat(thing.isEmpty(), is(true));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment