public async Task GetCountAsync()
        {
            Expression <Func <Customer, bool> > predicate = x => true;
            var options = new QueryOptions <Customer>();

            var mock = new Mock <IService <Customer> >();

            mock.Setup(x => x.GetCountAsync(default(CancellationToken)));
            mock.Setup(x => x.GetCountAsync(It.IsAny <Expression <Func <Customer, bool> > >(), It.IsAny <CancellationToken>()));
            mock.Setup(x => x.GetCountAsync(It.IsAny <IQueryOptions <Customer> >(), It.IsAny <CancellationToken>()));

            var readOnlyService = new ReadOnlyServiceWrapper <Customer, int>(mock.Object);

            await readOnlyService.GetCountAsync();

            await readOnlyService.GetCountAsync(predicate);

            await readOnlyService.GetCountAsync(options);

            mock.Verify(x => x.GetCountAsync(default(CancellationToken)), Times.Once);
            mock.Verify(x => x.GetCountAsync(predicate, default(CancellationToken)), Times.Once);
            mock.Verify(x => x.GetCountAsync(options, default(CancellationToken)), Times.Once);
        }