use of org.codice.alliance.catalog.core.api.impl.types.IsrAttributes in project alliance by codice.
the class DAGConverterTest method setUp.
@Before
public void setUp() throws Exception {
this.orb = ORB.init();
int year = 2016;
int month = 01;
int dayOfMonth = 29;
int hourOfDay = 17;
int minute = 05;
int second = 10;
cal = new GregorianCalendar(year, month, dayOfMonth, hourOfDay, minute, second);
dagConverter = new DAGConverter(mockResourceReader);
List<MetacardType> types = new ArrayList<>();
types.add(new AssociationsAttributes());
types.add(new ContactAttributes());
types.add(new DateTimeAttributes());
types.add(new LocationAttributes());
types.add(new IsrAttributes());
types.add(new SecurityAttributes());
MetacardTypeImpl metacardTypeImpl = new MetacardTypeImpl("NsiliMetacardType", types);
dagConverter.setNsiliMetacardType(metacardTypeImpl);
setupMocks();
}
Aggregations