Author: ash2k
Date: Sun Jun 29 06:27:54 2014
New Revision: 1606433
URL: http://svn.apache.org/r1606433
Log:
Fix typos, add license
Modified:
onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
Modified:
onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
URL:
http://svn.apache.org/viewvc/onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java?rev=1606433&r1=1606432&r2=1606433&view=diff
==============================================================================
---
onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
(original)
+++
onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
Sun Jun 29 06:27:54 2014
@@ -1,5 +1,24 @@
package org.apache.onami.lifecycle.standard;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import com.google.inject.AbstractModule;
import com.google.inject.ConfigurationException;
import com.google.inject.Inject;
@@ -49,13 +68,13 @@ public final class DisposeTestCase
}
@Test( expected = ConfigurationException.class )
- public void disposeAnnotatedMehthodRequiresNoArgs()
+ public void disposeAnnotatedMethodRequiresNoArgs()
{
createInjector( new DisposeModule() ).getInstance(
WrongDisposeMethod.class );
}
@Test//( expected = ConfigurationException.class )
- public void disposeAnnotatedMehthodThrowsException()
+ public void disposeAnnotatedMethodThrowsException()
{
createInjector( new DisposeModule(), new AbstractModule()
{