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