| 26 | using namespace testing; |
| 27 | |
| 28 | TEST(SSHSession, throws_when_unable_to_allocate_session) |
| 29 | { |
| 30 | REPLACE(ssh_new, []() { return nullptr; }); |
| 31 | EXPECT_THROW(mp::SSHSession("theanswertoeverything", 42), std::runtime_error); |
| 32 | } |
| 33 | |
| 34 | TEST(SSHSession, throws_when_unable_to_set_option) |
| 35 | { |
nothing calls this directly
no test coverage detected