Class GenericAssertions

  • Direct Known Subclasses:
    GrpcAssertions

    public class GenericAssertions
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean wasFaultInjected()
      Returns true if any fault was injected.
      protected static boolean wasFaultInjectedHelper​(java.lang.String uri)  
      static boolean wasFaultInjectedOnJavaClassAndMethod​(java.lang.String fullyQualifiedMethodName)
      Returns true if a fault was injected on the following Java method.
      static boolean wasFaultInjectedOnJavaClassAndMethod​(java.lang.String className, java.lang.String methodName)
      Returns true if a fault was injected on the following Java method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenericAssertions

        public GenericAssertions()
    • Method Detail

      • wasFaultInjected

        public static boolean wasFaultInjected()
        Returns true if any fault was injected.
        Returns:
        if a fault was injected.
      • wasFaultInjectedOnJavaClassAndMethod

        public static boolean wasFaultInjectedOnJavaClassAndMethod​(java.lang.String className,
                                                                   java.lang.String methodName)
        Returns true if a fault was injected on the following Java method.
        Parameters:
        className - class name including fully-qualified namespace and package
        methodName - method name
        Returns:
        if a fault was injected.
      • wasFaultInjectedOnJavaClassAndMethod

        public static boolean wasFaultInjectedOnJavaClassAndMethod​(java.lang.String fullyQualifiedMethodName)
        Returns true if a fault was injected on the following Java method.
        Parameters:
        fullyQualifiedMethodName - fully qualified class name in form com.namespace.package.class/Method*
        Returns:
        if a fault was injected.
      • wasFaultInjectedHelper

        protected static boolean wasFaultInjectedHelper​(java.lang.String uri)