@Test
public void testRequiredFileDestParameter() {

    try {
        Properties parameters = new Properties();
        parameters.setProperty(GitStorageConnector.REPO_DEST_PROPERTY, localTmpDir.getAbsolutePath());
        parameters.setProperty(GitStorageConnector.REPO_PATH_PROPERTY, myGitDir.getAbsolutePath());
        
        connector = new GitStorageConnector(parameters);
        UnitOfWork transaction = mock(UnitOfWork.class);
        when(transaction.getState()).thenReturn(State.NOT_STARTED);
        parameters = new Properties();
        Exportable artifact = mock(Exportable.class);
        connector.write(artifact, transaction, parameters);
        fail("Should not allow null dest parameter");
    } catch (Exception ex) {
        // Expect to fail
    }
}