| 74 | }; |
| 75 | |
| 76 | TEST_F(GroupTest, Construtor) |
| 77 | { |
| 78 | { |
| 79 | const int id = 12; |
| 80 | expectGetState(id); |
| 81 | Group group(id, commands, std::chrono::seconds(0), nullptr); |
| 82 | EXPECT_EQ(id, group.getId()); |
| 83 | Mock::VerifyAndClearExpectations(handler.get()); |
| 84 | } |
| 85 | { |
| 86 | const int id = 0; |
| 87 | expectGetState(id); |
| 88 | Group group(id, commands, std::chrono::seconds(0), nullptr); |
| 89 | EXPECT_EQ(id, group.getId()); |
| 90 | Mock::VerifyAndClearExpectations(handler.get()); |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | TEST_F(GroupTest, getName) |
| 95 | { |
nothing calls this directly
no test coverage detected