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

org.hamcrest.internal.SelfDescribingValue Maven / Gradle / Ivy

There is a newer version: 4.0.2
Show newest version
package org.hamcrest.internal;

import org.hamcrest.Description;
import org.hamcrest.SelfDescribing;

public class SelfDescribingValue implements SelfDescribing {
    private T value;
    
    public SelfDescribingValue(T value) {
        this.value = value;
    }

    @Override
    public void describeTo(Description description) {
        description.appendValue(value);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy