public function testReadable() { $this->assertFalse($this->attributeMetadata->isReadable()); $newAttributeMetadata = $this->attributeMetadata->withReadable(true); $this->assertTrue($newAttributeMetadata->isReadable()); $this->assertNotEquals($this->attributeMetadata, $newAttributeMetadata); }