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

lv.ctco.cukes.rabbitmq.internal.MessageWrapperContentProvider Maven / Gradle / Ivy

package lv.ctco.cukes.rabbitmq.internal;

import lv.ctco.cukes.core.internal.matchers.JsonMatchers;

public class MessageWrapperContentProvider implements JsonMatchers.ContentProvider {

    public static final MessageWrapperContentProvider INSTANCE = new MessageWrapperContentProvider();

    @Override
    public String getValue(Object o) {
        return ((MessageWrapper) o).getBody();
    }

    @Override
    public String getContentType(Object o) {
        return ((MessageWrapper) o).getContentType();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy