Assert on a single {@link Message} instance.
328717
public static ProtoSubject<?, Message> assertThat(@NullableDecl Message message) {
    return assertAbout(protos()).that(message);
  }
984640
def assert_is(expected, actual, message=None, extra=None):
    """"""
    assert expected is actual, _assert_fail_message(
        message, expected, actual, "is not", extra
    )
18565
def assert_is_instance(value, types, message=None, extra=None):
    """"""
    assert isinstance(value, types), _assert_fail_message(
        message, value, types, "is not an instance of", extra
    )
1191036
def assertNone(expr, message=None):
    
    if expr is not None:
        raise TestStepFail(
            format_message(message) if message is not None else "Assert: %s != None" % str(expr))
454226
public static <K, M extends Message>
      MultimapWithProtoValuesSubject<?, K, M, Multimap<K, M>> assertThat(
          @NullableDecl Multimap<K, M> multimap) {
    return assertAbout(protos()).that(multimap);
  }
810936
public <T> void assertThat(T actual, org.hamcrest.Matcher<? super T> matcher) {
    try {
      org.hamcrest.MatcherAssert.assertThat(actual, matcher);
    } catch (AssertionError e) {
      fail(e);
    }
  }
156083
public void assertion(boolean b, java.lang.String msg)
  {

    if (!b)
    {
      java.lang.String fMsg = XSLMessages.createXPATHMessage(
        XPATHErrorResources.ER_INCORRECT_PROGRAMMER_ASSERTION,
        new Object[]{ msg });

      throw new RuntimeException(fMsg);
    }
  }
1041911
public static void assertNotNull(String message, Object o) {
        if (o != null) {
            pass(message);
        } else {
            fail(message, null);
        }
    }
557850
def assertNotEqual(first, second, message=None):
    
    if not first != second:
        raise TestStepFail(
            format_message(message) if message is not None else "Assert: %s == %s" % (str(first),
                                                                                      str(second)))
384917
function internalAssert(condition, message) {
  if (!condition) {
    throw new AssertionError({
      message,
      actual: false,
      expected: true,
      operator: '=='
    });
  }
}
116154
public static Boolean assertFalse(Boolean value, String message) {
        if (Boolean.valueOf(value))
            throw new IllegalArgumentException(message);
        return value;
    }
260207
def assert_ge(left, right, message=None, extra=None):
    """"""
    assert left >= right, _assert_fail_message(message, left, right, "<", extra)
248749
public CallActivityMock onExecutionSendMessage(final String message) {
    return onExecutionDo(execution -> execution.getProcessEngineServices()
      .getRuntimeService().correlateMessage(message));
  }
459334
public static Boolean assertTrue(Boolean value, String message) {
        if (!Boolean.valueOf(value))
            throw new IllegalArgumentException(message);
        return value;
    }
279647
public static <T> T assertSame(T exp, T was, String message) {
        assertNotNull(exp, message);
        assertNotNull(was, message);
        assertTrue(exp == was, message);
        return was;
    }
1070915
public Result check(IMessage message) {
    if (message == null) {
      throw new IllegalArgumentException("Message is null");
    }
    if (!enable) {
      return SUCCESS;
    }
    // todo
    return null;
  }
872681
protected void assertValid(String s, String message) {
		if (s == null || s.length() == 0) {
			throw new RuntimeException(message);
		}
	}