function testGetPartsNull() { $str = 'ABC\\, Inc.;North American Division;Marketing\\;Sales'; $elem = new Compound('ORG', null); $this->assertEquals(0, count($elem->getParts())); }