public void CallsTheUserReadMethod()
        {
            var user = new Mock <IUser>();

            sut.Handle(user.Object, "");

            user.Verify(it => it.Read());
        }
Beispiel #2
0
 public Task <ResultOf <ReadResult> > Get([FromQuery] bool error = false) => ReadHandler.Handle(error);