From 4ba4e01447ee50e2a87630ddd0206237657f2e85 Mon Sep 17 00:00:00 2001 From: George Date: Fri, 13 Dec 2024 21:44:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=80=D0=B0=D0=B1=D0=BE=D1=87=D0=B5=D0=B3=D0=BE?= =?UTF-8?q?=20=D0=BF=D1=80=D0=BE=D1=86=D0=B5=D1=81=D1=81=D0=B0=20`CI/CD`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../throwable/fault/ImaginaryFaultTest.java | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 throwable/src/test/java/com/sogeor/framework/throwable/fault/ImaginaryFaultTest.java diff --git a/throwable/src/test/java/com/sogeor/framework/throwable/fault/ImaginaryFaultTest.java b/throwable/src/test/java/com/sogeor/framework/throwable/fault/ImaginaryFaultTest.java deleted file mode 100644 index 546738a..0000000 --- a/throwable/src/test/java/com/sogeor/framework/throwable/fault/ImaginaryFaultTest.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2024 Sogeor - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.sogeor.framework.throwable.fault; - -import com.sogeor.framework.throwable.failure.utility.UtilityCreationFailure; -import org.junit.jupiter.api.Test; - -import static org.junit.jupiter.api.Assertions.assertThrowsExactly; - -final class ImaginaryFaultTest { - - @Test - void defaultConstructor() { - for (final var constructor : ImaginaryFault.class.getConstructors()) { - constructor.setAccessible(true); - assertThrowsExactly(UtilityCreationFailure.class, constructor::newInstance); - } - } - -}