public void Can_get_user_entity_by_id() { var userResult = _userApiService.GetUserEntityById(2); userResult.ShouldBe <User>(); userResult.ShouldBeNotBeTheSameAs(typeof(UserDto)); }