Example #1
0
 @Test
 public void exceptionIsThrownIfTheAppDoesntExist() throws Exception {
   when(brjs).runCommand("create-blade", "app", "bladeset", "blade");
   then(exceptions)
       .verifyException(
           NodeDoesNotExistException.class, "app", unquoted(app.getClass().getSimpleName()))
       .whereTopLevelExceptionIs(CommandArgumentsException.class);
 }