public function testAsVersion() { $args = ['name' => COMMON_ACCT_NAME, 'homePage' => COMMON_ACCT_HOMEPAGE]; $obj = new AgentAccount($args); $versioned = $obj->asVersion('1.0.0'); $this->assertEquals($versioned, $args, "all properties: test"); }
public function testAsVersion() { $args = ['name' => 'test', 'homePage' => 'http://tincanapi.com']; $obj = new AgentAccount($args); $versioned = $obj->asVersion('test'); $this->assertEquals($versioned, $args, "all properties: test"); }