// Path: core/src/main/java/org/ocpsoft/prettytime/units/JustNow.java
// public class JustNow extends ResourcesTimeUnit
// {
// 
//    public JustNow()
//    {
//       setMaxQuantity(1000L * 60L);
//    }
// 
//    @Override
//    protected String getResourceKeyPrefix()
//    {
//       return "JustNow";
//    }
// 
//    @Override
//    public boolean isPrecise()
//    {
//       return false;
//    }
// 
// }


import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import org.junit.Before;
import org.junit.Test;
import org.ocpsoft.prettytime.units.JustNow;
/*
 * Copyright 2012 <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
 * 
 * Licensed 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.
 */
package org.ocpsoft.prettytime;




public class PrettyTimeI18n_FI_Test
{
	private Locale locale;

	@Before
	public void setUp() throws Exception
	{
		locale = new Locale("fi");
	}

	private PrettyTime newPrettyTimeWOJustNow(Date ref, Locale locale)
	{
		PrettyTime t = new PrettyTime(ref, locale);
		List<TimeUnit> units = t.getUnits();
		List<TimeFormat> formats = new ArrayList<TimeFormat>();
		for (TimeUnit timeUnit : units) {
// Path: core/src/main/java/org/ocpsoft/prettytime/units/JustNow.java
// public class JustNow extends ResourcesTimeUnit
// {
// 
//    public JustNow()
//    {
//       setMaxQuantity(1000L * 60L);
//    }
// 
//    @Override
//    protected String getResourceKeyPrefix()
//    {
//       return "JustNow";
//    }
// 
//    @Override
//    public boolean isPrecise()
//    {
//       return false;
//    }
// 
// }


// Path: core/src/test/java/org/ocpsoft/prettytime/PrettyTimeI18n_FI_Test.java
import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import org.junit.Before;
import org.junit.Test;
import org.ocpsoft.prettytime.units.JustNow;

/*
 * Copyright 2012 <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
 * 
 * Licensed 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.
 */
package org.ocpsoft.prettytime;




public class PrettyTimeI18n_FI_Test
{
	private Locale locale;

	@Before
	public void setUp() throws Exception
	{
		locale = new Locale("fi");
	}

	private PrettyTime newPrettyTimeWOJustNow(Date ref, Locale locale)
	{
		PrettyTime t = new PrettyTime(ref, locale);
		List<TimeUnit> units = t.getUnits();
		List<TimeFormat> formats = new ArrayList<TimeFormat>();
		for (TimeUnit timeUnit : units) {
			if (!(timeUnit instanceof JustNow)) {