public ConsumableListViewModel(IMessageBroker messageBroker, IConsumableService consumableService,
            NewConsumableCommand newCommand, EditConsumableCommand editCommand, DeleteConsumableCommand deleteCommand)
        {
            this.messageBroker = messageBroker;
            this.consumableService = consumableService;

            NewCommand = newCommand;
            EditCommand = editCommand;
            DeleteCommand = deleteCommand;

            NavigationCommands = new List<CommandBase>(){ NewCommand, DeleteCommand };
            SubscribeMessages();
        }
 public DeleteConsumableCommandTest()
 {
     brokerMock = new Mock<IMessageBroker>();
     serviceMock = new Mock<IConsumableService>();
     command = new DeleteConsumableCommand(brokerMock.Object, serviceMock.Object);
 }