public void returns_an_enumerable_of_users() { IJsonService jsonService = Substitute.For <IJsonService>(); jsonService.GetUsers().Returns(new List <User>()); jsonService.GetUsers().ShouldBeAssignableTo <IEnumerable <User> >(); }