public function testFindOneWithScalarReturnsEntityWithKeyValue() { $result = self::$LazyBaseObjectMapper->findOne(2); $this->assertEquals(2, $result->baseobject_id, "findOne() returns the right Horde_Rdo_Base if key is given as argument"); }