/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-04-07 * Changed: 2023-04-07 * * */ #include #include #include using ls::std::core::IllegalArgumentException; using ls::std::core::JniApi; using testing::Test; namespace { class JniApiTest : public Test { public: JniApiTest() = default; ~JniApiTest() override = default; }; TEST_F(JniApiTest, constructor) { EXPECT_THROW( { try { JniApi jniApi{nullptr}; } catch (const IllegalArgumentException &_exception) { throw; } }, IllegalArgumentException); } }