@Test
public void listUnrunChangeSets() throws LiquibaseException {

    when(changeSet1.getId()).thenReturn("id1");
    when(changeSet1.getAuthor()).thenReturn("author1");
    Set<String> contextSet = new HashSet<String>();
    contextSet.add(EXPANSION);
    when(changeSet1.getContexts()).thenReturn(contextSet);
    when(liquibase.listUnrunChangeSets(StringUtils.EMPTY)).thenReturn(Arrays.<ChangeSet>asList(changeSet1));
    List<UnRunChangeSetInfo> unRunChangeSetInfo = databaseUpgradeSupport.listUnRunChangeSets();
    verify(liquibase).listUnrunChangeSets(StringUtils.EMPTY);
    UnRunChangeSetInfo unRunChangeSetInfo1 = unRunChangeSetInfo.get(0);
    assertThat(unRunChangeSetInfo1.getId(), is("id1"));
    assertThat(unRunChangeSetInfo1.getAuthor(), is("author1"));
    assertThat(unRunChangeSetInfo1.getContexts(), is("["+EXPANSION+"]"));
}