/* * author: Patrick-Christopher Mattulat * e-mail: webmaster@lynarstudios.com */ #include #include #include #include using ls::atlantis::factory::WindowApiEventManagerFactory; using ls::atlantis::glossary::WindowApiTypes; using ls::std::core::IllegalArgumentException; using ::testing::Test; namespace { class WindowApiEventManagerFactoryTest : public Test { public: WindowApiEventManagerFactoryTest() = default; ~WindowApiEventManagerFactoryTest() override = default; }; TEST_F(WindowApiEventManagerFactoryTest, build_noneSelected) { ASSERT_THROW(static_cast(WindowApiEventManagerFactory::build(WindowApiTypes::NONE_SELECTED)), IllegalArgumentException); } }