blob: 06345278fddd1856a5b5249b39ea127d0bdc312a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package org.hamcrest.internal;
import org.hamcrest.Description;
import org.hamcrest.SelfDescribing;
public class SelfDescribingValue<T> implements SelfDescribing {
private T value;
public SelfDescribingValue(T value) {
this.value = value;
}
public void describeTo(Description description) {
description.appendValue(value);
}
}
|