use of com.intel.mtwilson.datatypes.OemData in project OpenAttestation by OpenAttestation.
the class OemBOTest method testUpdateOem.
@Test
public void testUpdateOem() {
TblOem tblOem = new TblOem(OEM_ID1);
doReturn(tblOem).when(tblOemJpaController).findTblOemByName(anyString());
OemData oemData = new OemData("DELL", "");
String result = oemBO.updateOem(oemData);
assertEquals("true", result);
}
use of com.intel.mtwilson.datatypes.OemData in project OpenAttestation by OpenAttestation.
the class OemBOTest method testCreateOem.
@Test
public void testCreateOem() {
TblOem tblOem = null;
doReturn(tblOem).when(tblOemJpaController).findTblOemByName(anyString());
OemData oemData = new OemData("DELL", "");
String result = oemBO.createOem(oemData);
assertEquals("true", result);
}
Aggregations