assertThat(repository.status().isBlocked(), is(false));
assertThat(repository.status().isAutoBlocked(), is(false));
repository.block();
assertThat(repository.status().isBlocked(), is(true));
assertThat(repository.status().isAutoBlocked(), is(false));
repository.unblock();
assertThat(repository.status().isBlocked(), is(false));
assertThat(repository.status().isAutoBlocked(), is(false));
}
@Test