diff --git a/src/test/java/javax/time/calendar/field/TestDayOfYear.java b/src/test/java/javax/time/calendar/field/TestDayOfYear.java
index <HASH>..<HASH> 100644
--- a/src/test/java/javax/time/calendar/field/TestDayOfYear.java
+++ b/src/test/java/javax/time/calendar/field/TestDayOfYear.java
@@ -161,7 +161,7 @@ public class TestDayOfYear {
 

     @Test(expectedExceptions=UnsupportedRuleException.class)

     public void test_factory_Calendrical_noData() {

-        DayOfWeek.dayOfWeek(new MockSimpleCalendrical());

+        DayOfYear.dayOfYear(new MockSimpleCalendrical());

     }

 

     @Test(expectedExceptions=NullPointerException.class)
Fix test to refer to correct class

git-svn-id: <URL>