@Test
public void itCreatesATestPerSpecTest(){
Class<? extends JavaSpec> specClass = OneRootTestSpecTest.class;
SpecTree specTree = SpecParser.create().parse(specClass);
JunitTestTreeAdapter adapter = JunitTestTreeAdapter.create(specTree, specClass);
List<JunitTestCode> junitTests = adapter.getJunitTree().getJunitTests();
assertThat(junitTests).hasSize(1);
assertThat(junitTests.get(0).getTestDescription().getDisplayName()).isEqualTo("only test");
}