@Test
public void testExecuteWithNotBlankPassword() {

    ReflectionTestUtils.setField(createUserCmd, "password", "Test");
    try {
        createUserCmd.execute();
    } catch (ServerApiException e) {
        Assert.assertTrue("Received exception as the mock accountService createUser returns null user", true);
    }
    Mockito.verify(accountService, Mockito.times(1)).createUser(null, "Test", null, null, null, null, null, null, null);
}