73 $po->setProperty(
'foo',
'val' );
75 $properties = $po->getProperties();
76 $this->assertEquals( $po->getProperty(
'foo' ),
'val' );
77 $this->assertEquals( $properties[
'foo'],
'val' );
79 $po->setProperty(
'foo',
'second val' );
81 $properties = $po->getProperties();
82 $this->assertEquals( $po->getProperty(
'foo' ),
'second val' );
83 $this->assertEquals( $properties[
'foo'],
'second val' );
85 $po->unsetProperty(
'foo' );
87 $properties = $po->getProperties();
88 $this->assertEquals( $po->getProperty(
'foo' ),
false );
89 $this->assertArrayNotHasKey(
'foo', $properties );