@Test
public void configurePasswordTestNotRandomPassword() {

    StringBuilder buf = new StringBuilder();
    Mockito.doReturn("false").when(configurationDao).getValue(Mockito.eq("system.vm.random.password"));
    spy.configurePassword(buf);
    Assert.assertEquals(StringUtils.EMPTY, buf.toString());
}