Extension\Properties\PrivatePropertiesTest::testAssertations PHP Method

testAssertations() public method

public testAssertations ( )
    public function testAssertations()
    {
        $t = new \Test\Properties\PrivateProperties();
        $this->assertNull($t->getSomeNull());
        $this->assertNull($t->getSomeNullInitial());
        $this->assertFalse($t->getSomeFalse());
        $this->assertTrue($t->getSomeTrue());
        $this->assertSame($t->getSomeInteger(), 10);
        $this->assertSame($t->getSomeDouble(), 10.25);
        $this->assertSame($t->getSomeString(), 'test');
    }
PrivatePropertiesTest