/** * test grabbing a FinishedProduct by finishedProductId that does not exist **/ public function testGetInvalidFinishedProductByFinishedProductId() { // grab an finishedProductId that does not exist $finishedProduct = FinishedProduct::getFinishedProductByFinishedProductId($this->getPDO(), $this->finishedProduct->getProductId()); foreach ($finishedProduct as $fP) { $this->assertNull($fP); } }