ActionImportImpl implements ActionImport { private ActionImportImpl(Builder builder) { this.name = builder.name; this.action = builder.action; this.entitySet = builder.entitySet; this.javaClass = builder.javaClass; } private  ActionImportImpl(Builder builder); @Override String getName(); @Override Action getAction(); @Override EntitySet getEntitySet(); @Override Class<?> getJavaClass();  }
@Test public void testActionImportImpl() { ActionImportImpl.Builder builder = new ActionImportImpl.Builder(); builder.setName("someActionImport") .setEntitySet(new EntitySetImpl.Builder().setName("someEntitySet").build()) .setAction(new ActionImpl.Builder().setName("someActionName").build()); ActionImportImpl actionImport = builder.build(); assertThat(actionImport.getName(), is("someActionImport")); assertThat(actionImport.getEntitySet().getName(), is("someEntitySet")); assertThat(actionImport.getAction().getName(), is("someActionName")); }