From cda65205e9e82e4089e476784a676b96cf80a221 Mon Sep 17 00:00:00 2001 From: Fedor Date: Mon, 26 Apr 2021 20:35:09 +0300 Subject: [PATCH] =?UTF-8?q?BitrixExceptionAssertTrait.=20=D0=90=D1=81?= =?UTF-8?q?=D1=81=D0=B5=D1=80=D1=82=20=D0=BD=D0=B0=20=D0=B1=D0=B8=D1=82?= =?UTF-8?q?=D1=80=D0=B8=D0=BA=D1=81=D0=BE=D0=B2=D0=BE=D0=B5=20=D0=B8=D1=81?= =?UTF-8?q?=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20(=D0=BF?= =?UTF-8?q?=D0=BE=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=D1=83).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Traits/BitrixExceptionAssertTrait.php | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/Traits/BitrixExceptionAssertTrait.php diff --git a/src/Traits/BitrixExceptionAssertTrait.php b/src/Traits/BitrixExceptionAssertTrait.php new file mode 100644 index 0000000..91ec567 --- /dev/null +++ b/src/Traits/BitrixExceptionAssertTrait.php @@ -0,0 +1,29 @@ +GetException(); + + $this->assertSame( + $message, + $exceptionText->GetString() + ); + } +}