sun.util.BuddhistCalendar Java Examples

The following examples show how to use sun.util.BuddhistCalendar. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TestOverrideProperties.java    From jfixture with MIT License 5 votes vote down vote up
@Test
public void a_property_of_a_class_can_be_overridden_with_a_specific_instance_of_the_property_sub_type() {
    JFixture fixture = new JFixture();

    Calendar buddhistCalendar = new BuddhistCalendar();
    fixture.customise().propertyOf(OverridePropertiesType.class, "Calendar", buddhistCalendar);

    OverridePropertiesType type = fixture.create(OverridePropertiesType.class);

    assertEquals(buddhistCalendar, type.getCalendar());
}