org.hamcrest.internal.SelfDescribingValue Maven / Gradle / Ivy
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);
}
}