/** * @covers ilRoomSharingRoom::getAllFloorplans * @todo Implement testGetAllFloorplans(). */ public function testGetAllFloorplans() { $floorPlans = array(array('file_id' => '100', 'title' => 'Reddy'), array('file_id' => '102', 'title' => 'Floofy')); self::$DBMock->method("getAllFloorplans")->willReturn($floorPlans); # $expected = array('title' => " - translation - ", '100' => 'Reddy', '102' => 'Floofy'); self::assertEquals($expected, self::$room->getAllFloorplans()); }