This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package no.nav.apiapp; | |
import org.junit.jupiter.api.extension.ExtendWith; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
@Retention(RetentionPolicy.RUNTIME) | |
@ExtendWith(AssumeConnectionCondition.class) | |
public @interface AssumeConnection { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Optional; | |
import java.util.function.Supplier; | |
import static java.util.Optional.ofNullable; | |
public abstract class SealedResult { | |
private SealedResult() { | |
} | |
public static class Ok<V> extends SealedResult { |
OlderNewer