/**
  * @test
  */
 public function it_is_same_value_as_equal_integer()
 {
     $int1 = Integer::fromNativeValue(10);
     $int2 = Integer::fromNativeValue(10);
     $int3 = Integer::fromNativeValue(20);
     $this->assertTrue($int1->sameAs($int2));
     $this->assertFalse($int1->sameAs($int3));
 }
 /**
  * @return array[propertyName => Prototype]
  */
 public static function getPropertyPrototypes()
 {
     return array('street' => String::prototype(), 'streetNumber' => Integer::prototype(), 'zip' => String::prototype(), 'city' => String::prototype());
 }
 /**
  * @return array[propertyName => Prototype]
  */
 public static function getPropertyPrototypes()
 {
     return array('id' => Integer::prototype(), 'name' => String::prototype(), 'address' => AddressDictionary::prototype());
 }