opensrs\trust\UpdateOrderTest::testValidSubmission PHP Метод

testValidSubmission() публичный Метод

Valid submission should complete with no exception thrown.
public testValidSubmission ( )
    public function testValidSubmission()
    {
        $data = json_decode(json_encode($this->validSubmission));
        $data->attributes->order_id = time();
        $ns = new UpdateOrder('array', $data);
        $this->assertTrue($ns instanceof UpdateOrder);
    }