    @Test
    public void appendShouldNotAppendExtensionWhenExtensionExists() throws Exception {

        // exercise
        final String actual = Extensions.append("foo.java", JavaFileType.INSTANCE);

        // verify
        assertThat(actual)
                .isEqualTo("foo.java");
    }