@Test public void nullSafeFromNotNull() throws Exception { assertNotNull( RecordReferences.nulSafeFrom( RecordTypeEnum.ASSEMBLY_UNBUILD, "A126", RecordIdType.INTERNAL)); }
@Test(expected = IllegalArgumentException.class) public void nullSafeFromNotIllegalArgument() throws Exception { RecordReferences.nulSafeFrom(null, "A126", null); }
@Test public void nullSafeFromNull() throws Exception { assertNull(RecordReferences.nulSafeFrom(null, null, null)); }