public void TestHandleFloatNumberNotOperator() { //arrange JsonRequest request = new JsonRequest { Input = "5", calculatorState = new JsonResponse { IsOperator = false, IsMinus = true, Display = "-", State = "-" } }; //act JsonResponse response = request.HandleFloatNumber(null); //assert response.Display.Should().Be("-5"); response.IsMinus.Should().Be(false); response.IsOperator.Should().Be(false); }