public async Task postNewShift() { shiftController.PostNewShift(new S(9, 4, DateTime.Now, new List <U>() { new U(1, "Dave"), new U(2, "Steve"), new U(3, "Lisa") })); var shift = await shiftController.GetShift(9); shift.Should().NotBeNull(); shift.id.Should().Be(9); shift.GetType().Should().Be(typeof(S)); }