public async Task InsertCustomerNote_ValidArguments_InvokeRepositoryAndPublishEvent()
        {
            await _noteService.InsertCustomerNote(new CustomerNote());

            _repositoryMock.Verify(c => c.InsertAsync(It.IsAny <CustomerNote>()), Times.Once);
            _mediatorMock.Verify(c => c.Publish(It.IsAny <EntityInserted <CustomerNote> >(), default(CancellationToken)), Times.Once);
        }