Example #1
0
        public void DracoonApiCode_ServerError_Fail()
        {
            // ARRANGE
            DracoonApiCode code = DracoonApiCode.API_VERSION_NOT_SUPPORTED;

            // ACT

            // ASSERT
            Assert.False(code.IsServerError());
        }
Example #2
0
        public void DracoonApiCode_ServerError()
        {
            // ARRANGE
            DracoonApiCode code = DracoonApiCode.SERVER_FILE_NOT_FOUND;

            // ACT

            // ASSERT
            Assert.True(code.IsServerError());
        }