Pyrech\ComposerChangelogs\Outputter::isEmpty PHP Метод

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

public isEmpty ( ) : boolean
Результат boolean
    public function isEmpty()
    {
        return empty($this->operations);
    }

Usage Example

Пример #1
0
    public function test_it_outputs_nothing_without_operation()
    {
        $expectedOutput = <<<TEXT
<fg=green>No changelogs summary</fg=green>
TEXT;
        $this->assertTrue($this->SUT->isEmpty());
        $this->assertSame($expectedOutput, $this->SUT->getOutput());
    }
All Usage Examples Of Pyrech\ComposerChangelogs\Outputter::isEmpty