/** * @depends testSetOrderByCapabilitySetsProperty */ public function testGetOrderByCapabilityReturnsPropertyValue() { $orderByCapability = CapabilityOrderBy::cast(CapabilityOrderBy::CUSTOM); $this->repositoryCapabilities->setOrderByCapability($orderByCapability); $this->assertSame($orderByCapability, $this->repositoryCapabilities->getOrderByCapability()); }