public class ApiSecurityPropertiesTest extends AbstractSpringTest {
<BUG>@Autowired
private ApiSecurityProperties properties;</BUG>
@Test(expected = NullPointerException.class)
<BUG>public void testNullPointerExceptionWhenNullValue() {
properties.setRevokeExpr(null);</BUG>
}
@Test
<BUG>public void testSetters() {
String expected = "#oauth2.hasScope('uid')";</BUG>
properties.setRevokeExpr(expected);

public class ApiSecurityPropertiesTest extends AbstractSpringTest {
@Test(expected = NullPointerException.class)
public void testNullPointerExceptionWhenNullValue() {
ApiSecurityProperties properties = new ApiSecurityProperties();
properties.setRevokeExpr(null);
}
@Test
public void testSetters() {
ApiSecurityProperties properties = new ApiSecurityProperties();
String expected = "#oauth2.hasScope('uid')";
properties.setRevokeExpr(expected);
