Class AwsTestBase


  • public abstract class AwsTestBase
    extends Object
    • Constructor Detail

      • AwsTestBase

        public AwsTestBase()
    • Method Detail

      • getResourceAsString

        protected static String getResourceAsString​(Class<?> clazz,
                                                    String location)
        Reads a system resource fully into a String
        Parameters:
        location - Relative or absolute location of system resource.
        Returns:
        String contents of resource file
        Throws:
        RuntimeException - if any error occurs
      • isValidSdkServiceException

        public static org.hamcrest.Matcher<SdkServiceException> isValidSdkServiceException()