phpmock\test\MockNamespaceTest::testRedefiningNamespaces PHP Метод

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

Tests redefining mocks in a different namespace.
    public function testRedefiningNamespaces()
    {
        $this->builder->setNamespace(__NAMESPACE__);
        $this->mock = $this->builder->build();
        $this->mock->enable();
        $this->assertEquals(1234, time());
    }