final IJDTFacade jdtFacade = context.mock(IJDTFacade.class);
InputStream is = getClass().getResourceAsStream("onetoone-ejb-jar.xml");
InputSource ejbJarSrc = new InputSource(is);
AppModule appModule = new TestFixture().getAppModule(ejbJarSrc, null);
context.checking(new Expectations() {
{
Map<String, Object> oneToManyProperties = new HashMap<String,Object>();
oneToManyProperties.put("targetEntity", "org.superbiz.ProductBean");
one(jdtFacade).addMethodAnnotation("org.superbiz.OrderLineBean", "getProduct", new String[0], OneToOne.class, oneToManyProperties);
}