public function testInstantiation() { $lrs = new RemoteLRS(); $this->assertInstanceOf('TinCan\\RemoteLRS', $lrs); $this->assertAttributeEmpty('endpoint', $lrs, 'endpoint empty'); $this->assertAttributeEmpty('auth', $lrs, 'auth empty'); $this->assertAttributeEmpty('extended', $lrs, 'extended empty'); $this->assertSame(TinCan\Version::latest(), $lrs->getVersion(), 'version set to latest'); }
public function testLatest() { $result = TinCan\Version::latest(); $this->assertSame("1.0.1", $result, "match latest"); }