### Question:
ServerFactory { @Nullable public static Server create( @NonNull File cmakeInstallPath, @NonNull ServerReceiver serverReceiver) throws IOException { return (create(CmakeUtils.getVersion(cmakeInstallPath), cmakeInstallPath, serverReceiver)); }  @Nullable static Server create(
            @NonNull File cmakeInstallPath, @NonNull ServerReceiver serverReceiver); @Nullable @VisibleForTesting static Server create(
            Revision version,
            @NonNull File cmakeInstallPath,
            @NonNull ServerReceiver serverReceiver);  }### Answer:
@Test public void testValidServerCreation() throws IOException { assertThat( ServerFactory.create( CmakeUtils.getVersion("3.7.1"), mockCmakeInstallPath, serverReceiver)) .isNotNull(); assertThat( ServerFactory.create( CmakeUtils.getVersion("3.8.0-rc2"), mockCmakeInstallPath, serverReceiver)) .isNotNull(); }
@Test public void testInvalidServerCreation() throws IOException { assertThat( ServerFactory.create( CmakeUtils.getVersion("3.6.3"), mockCmakeInstallPath, serverReceiver)) .isNull(); assertThat( ServerFactory.create( CmakeUtils.getVersion("2.3.5-rc2"), mockCmakeInstallPath, serverReceiver)) .isNull(); assertThat( ServerFactory.create( CmakeUtils.getVersion("1.2.1"), mockCmakeInstallPath, serverReceiver)) .isNull(); }