JSON = new JSON([]); } public function testSanity() { $this->assertTrue(is_a($this->JSON, 'Sleepy\\types\\JSON')); $this->assertTrue(is_a($this->JSON, 'Sleepy\\core\\aType')); $this->assertEquals(['Sleepy\\core\\iType' => 'Sleepy\\core\\iType'], class_implements('Sleepy\\types\\JSON')); } public function testFunction() public function testNIE() { try { $json = new MockJSON([]); } catch (Sleepy\exceptions\NotImplementedException $e) { $this->assertTrue(TRUE); } } } // End of JSONTest