| 31 | using namespace testing; |
| 32 | |
| 33 | TEST(Condition, Constructor) |
| 34 | { |
| 35 | const std::string address = "/api/abcd/test"; |
| 36 | const std::string value = "test value"; |
| 37 | Condition condition(address, Condition::Operator::eq, value); |
| 38 | EXPECT_EQ(address, condition.getAddress()); |
| 39 | EXPECT_EQ(Condition::Operator::eq, condition.getOperator()); |
| 40 | EXPECT_EQ(value, condition.getValue()); |
| 41 | } |
| 42 | |
| 43 | TEST(Condition, toJson) |
| 44 | { |
nothing calls this directly
no test coverage detected