getArrayCopy() public method

public getArrayCopy ( )
 public function testSerializationOfOauth2AuthReturnsOnlyKeysSpecificToType()
 {
     $entity = new AuthenticationEntity(AuthenticationEntity::TYPE_OAUTH2, ['dsn' => 'sqlite::memory:', 'username' => 'me', 'password' => 'too', 'route_match' => '/api/oauth']);
     $this->assertEquals(['type' => 'oauth2', 'dsn_type' => 'PDO', 'dsn' => 'sqlite::memory:', 'username' => 'me', 'password' => 'too', 'route_match' => '/api/oauth'], $entity->getArrayCopy());
 }