JsonRequestClientComponent = new JsonRequestClientComponent($registry); } /** * tearDown method * * @return void */ public function tearDown() { unset($this->JsonRequestClientComponent); parent::tearDown(); } /** * Test sendTransaction method * * @return void */ public function testSendTransaction() { $this->markTestIncomplete('Not implemented yet.'); } /** * Test is_base64 method * * @return void */ public function testIsBase64Valid() { $result = $this->JsonRequestClientComponent->is_base64('CgpIYWxsbyBXZWx0EgYIr6fe7wVKLwonCiDWDyYU4+zldTQdQMIzGpsL20W+vV44JuNVA5hwczIELRDgg5sBELmhkoIE'); $this->assertEquals($result, true); } public function testIsBase64Invalid() { $result = $this->JsonRequestClientComponent->is_base64('CgpIYWxsbyBXZWx0EgYIr6fe7wVKLwonCiDWDyYU4-zldTQdQMIzGpsL20W+vV44JuNVA5hwczIELRDgg5sBELmhkoIE'); $this->assertEquals($result, false); } }