public function testPopulateWithPropertyNotAvailableSilentlyContinues() { $property = new Property(); $property->populate(['nothing-here' => 'no value']); $this->addToAssertionCount(1); // no error here }
public function testAlwaysRequireAuthentication() { $property = new Property(); $this->assertNull($property->isAlwaysRequireAuthentication()); $this->assertInstanceOf('iMoneza\\Data\\Property', $property->setAlwaysRequireAuthentication(true)); $this->assertTrue($property->isAlwaysRequireAuthentication()); }