public function testLazyToOneRelationThrowsExceptionWhenKeyIsNotFound() { $entity = self::$LazyBaseObjectMapper->findOne(3); $this->assertNull($entity->lazyRelatedThing, "lazy to-one-relations throw exception when relation key is not found"); }