All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.ngeor.yak4j.Assertions Maven / Gradle / Ivy

There is a newer version: 0.23.0
Show newest version
package com.github.ngeor.yak4j;

import org.springframework.http.ResponseEntity;
import org.springframework.test.web.servlet.ResultActions;

/**
 * Entry point for assertion DSL.
 */
@SuppressWarnings("WeakerAccess")
public final class Assertions {
    private Assertions() {
    }

    public static ResultActionsAssert assertThat(ResultActions resultActions) {
        return new ResultActionsAssert(resultActions);
    }

    public static  ResponseEntityAssert assertThat(ResponseEntity responseEntity) {
        return new ResponseEntityAssert<>(responseEntity);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy