My eclipse settings does this...

````
import java.util.Arrays;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hamcrest.Description;
import org.hamcrest.TypeSafeMatcher;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;

import org.springframework.beans.factory.BeanFactory;
````
with these settings

![image](https://f.cloud.github.com/assets/483832/1174129/706cdd1a-2143-11e3-9ddf-153ca6b486bc.png)