pub fn expect_success(&mut self) -> &mut Self {
        // Check first result, as only first result is interesting for a simple test
        let exec_response = self
            .exec_responses
            .last()
            .expect("Expected to be called after run()");
        let exec_result = exec_response
            .get(0)
            .expect("Unable to get first deploy result");

        if exec_result.is_failure() {
            panic!(
                "Expected successful execution result, but instead got: {:?}",
                exec_response,
            );
        }
        self
    }
/// Expects a successful run and caches transformations
Expects a successful run and caches transformations
Expects a successful run and caches transformations
pub fn expect_success(&mut self) -> &mut Self {
        // Check first result, as only first result is interesting for a simple test
        let exec_response = self
            .exec_responses
            .last()
            .expect("Expected to be called after run()");
        let exec_result = exec_response
            .get(0)
            .expect("Unable to get first deploy result");
        if exec_result.is_failure() {
            panic!(
                "Expected successful execution result, but instead got: {:?}",
                exec_response,
            );
        }
        self
    }
pub fn expect_success ( & mut self ) -> & mut Self { // Check first result, as only first result is interesting for a simple test let exec_response = self . exec_responses . last ( ) . expect ( " " ) ; let exec_result = exec_response . get ( 0 ) . expect ( " " ) ; if exec_result . is_failure ( ) { panic ! ( " " exec_response ) ; } self }
Expects a successful run and caches transformations
Expects a successful run and caches transformations
&mut self
&mut self