    @Test
    public void shouldDeliverOkStatusWhenEverythingOk() throws Exception {

        // given
        when(migEntryService.findMigrations("1"))
                .thenReturn(Arrays.asList(createMigrationEntry("1", "2", MigrationStatus.OK)));
        // when
        final MigraMongoStatus status = migraMongo.status("1");
        // then
        assertThat(status.status, is(MigrationStatus.OK));
        assertThat(status.migrationsApplied, hasSize(1));
    }