    @Test
    void graphIsNull() {

        NullPointerException thrown = assertThrows(NullPointerException.class, () -> dot(null));
        assertThat(thrown).hasMessageThat().isEqualTo("graph must not be null.");
    }