| 123456789101112131415161718192021222324252627282930 |
- /*
- * author: Patrick-Christopher Mattulat
- * e-mail: webmaster@lynarstudios.com
- */
- #include <factory/WindowApiEventManagerFactory.hpp>
- #include <glossary/WindowApiTypes.hpp>
- #include <gtest/gtest.h>
- #include <ls-std/core/exception/IllegalArgumentException.hpp>
- 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<void>(WindowApiEventManagerFactory::build(WindowApiTypes::NONE_SELECTED)), IllegalArgumentException);
- }
- }
|