public function testCreateObjectFromnStaticMethod() { $xao = XArray::from([1, 2, 3]); $this->assertInstanceOf('\\Dormilich\\Core\\ArrayInterface', $xao); $test = new XArray([1, 2, 3]); $this->assertEquals($test, $xao); }