Interface InstrumentationState

    • Method Detail

      • ofState

        static <T extends InstrumentationState> T ofState​(InstrumentationState rawState)
        This helper method allows you to cast from InstrumentationState to a custom classes more easily.
        Type Parameters:
        T - for two
        Parameters:
        rawState - the raw InstrumentationState
        Returns:
        a cast custom InstrumentationState