File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/test/java/com/amazon/sqs/javamessaging Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 55
66import java .lang .reflect .Field ;
77
8- import static org .junit .jupiter .api .Assertions .* ;
8+ import static org .junit .jupiter .api .Assertions .assertEquals ;
99
1010class ModifyWaitTimeSecondsTest {
11+
1112 @ DisplayName ("Should be able to modify SQSMessageConsumerPrefetch.WAIT_TIME_SECONDS via Reflection" )
1213 @ Test
13- void WaitTimeSecondsShouldBeModifiableViaReflection () throws NoSuchFieldException , IllegalAccessException {
14+ public void waitTimeSecondsShouldBeModifiableViaReflection () throws NoSuchFieldException , IllegalAccessException {
1415 Field wait_time_seconds = SQSMessageConsumerPrefetch .class .getDeclaredField ("WAIT_TIME_SECONDS" );
1516 wait_time_seconds .setAccessible (true );
1617 wait_time_seconds .setInt (null ,5 );
You can’t perform that action at this time.
0 commit comments