public async Task GivenUserEntity_FindsNoUserWithMatchingUsername_WhenExecuteIsCalledAndUserDoesNotExist()
        {
            //arrange
            var user = new User {
                username = "******"
            };
            var sut = new Queries.FindUserByUsernameQuery(context.Object);

            //act
            var result = await sut.execute(user);

            //arrange
            Assert.AreEqual(result.Count, 0);
        }
        public async Task GivenUserEntity_FindsUserWithMatchingUsername_WhenExecuteIsCalledAndUserExists()
        {
            //arrange
            var user = new User {
                username = "******"
            };
            var sut = new Queries.FindUserByUsernameQuery(context.Object);

            //act
            var result = await sut.execute(user);

            //arrange
            Assert.AreEqual(result.Count, 1);
            Assert.AreEqual(result.FirstOrDefault().username, "user1");
        }