assertNull($credentials->getIdentifier()); $credentials->setIdentifier('foo'); $this->assertEquals('foo', $credentials->getIdentifier()); $this->assertNull($credentials->getSecret()); $credentials->setSecret('foo'); $this->assertEquals('foo', $credentials->getSecret()); } }