AbstractBeanMother implements BeanMother { @Override public <T> T bear(String fixtureName, T target) { return bear(fixtureName, target, null); } protected  AbstractBeanMother(); FixturesStore getFixturesStore(); @Override T bear(String fixtureName, T target); @Override T bear(String fixtureName, Class<T> targetClass); @Override T bear(String fixtureName, T target, PostProcessor<T> postProcessor); @Override T bear(String fixtureName, Class<T> targetClass, PostProcessor<T> postProcessor); @Override List<T> bear(String fixtureName, Class<T> targetClass, int size); @Override List<T> bear(String fixtureName, Class<T> targetClass, int size, PostProcessor<T> postProcessor); @Override BeanMother addFixtureLocation(String path);  }
@Test public void testSingleMapping() throws URISyntaxException { Author author = beanMother.bear("unknown_author", Author.class); assertNotNull(author); assertNotNull(author.getName()); }