@Test
public void noRepo() throws Exception {

	BuildRepository repo = new BuildRepository("a", "master", null);
	PollOperation op = new PollOperation(new BuildRepositoryState(),
			Collections.singletonList(repo));
	File dir = git.tempDirectory();
	assertEquals(PollingResult.BUILD_NOW, op.invoke(dir, null));
}