use of cn.taketoday.origin.OriginProvider in project today-framework by TAKETODAY.
the class ConfigurationPropertyTests method getPropertyOriginShouldReturnValuePropertyOrigin.
@Test
void getPropertyOriginShouldReturnValuePropertyOrigin() {
Origin origin = mock(Origin.class);
OriginProvider property = ConfigurationProperty.of(this.source, NAME, "foo", origin);
assertThat(property.getOrigin()).isEqualTo(origin);
}
use of cn.taketoday.origin.OriginProvider in project today-infrastructure by TAKETODAY.
the class ConfigurationPropertyTests method getPropertyOriginShouldReturnValuePropertyOrigin.
@Test
void getPropertyOriginShouldReturnValuePropertyOrigin() {
Origin origin = mock(Origin.class);
OriginProvider property = ConfigurationProperty.of(this.source, NAME, "foo", origin);
assertThat(property.getOrigin()).isEqualTo(origin);
}
Aggregations