@Test public void mapTargetAddressExistingNull() { SMG origDestSMG = new SMG(destSMG); SMGNodeMapping origMapping1 = new SMGNodeMapping(mapping1); SMGJoinMapTargetAddress mta = new SMGJoinMapTargetAddress(smg1, null, destSMG, mapping1, null, smg1.getNullValue(), null); Assert.assertEquals(origDestSMG, mta.getSMG()); Assert.assertEquals(origMapping1, mta.getMapping1()); Assert.assertNull(mta.getMapping2()); Assert.assertSame(destSMG.getNullValue(), mta.getValue()); }