public function testShouldHaveOptionsByDefault() { $daemon = new Daemon(function () { }); $expectedOptions = ['name' => 'arara', 'lock_dir' => '/var/run', 'work_dir' => '/', 'umask' => 0, 'user_id' => null, 'group_id' => null, 'stdin' => '/dev/null', 'stdout' => '/dev/null', 'stderr' => '/dev/null']; $this->assertSame($expectedOptions, $daemon->getOptions()); }