tests/UsersTest.php
/**
     * @testdox If no name is present, the username is substituted.
     * @test
     */
@testdox If no name is present, the username is substituted.
@test
@testdox If no name is present the username is substituted . @test
public function name()
    {
        $user = new User();
        $user->username = 'test';
        $user->save();
        $this->assertEquals('test', $user->name);
    }
public function name ( ) { $ user = new User ( ) ; $ user -> username = 'test' ; $ user -> save ( ) ; $ this -> assertEquals ( 'test' , $ user -> name ) ; }
@testdox If no name is present, the username is substituted.
@testdox If no name is present the username is substituted .