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 5
5
6
6
import java .lang .reflect .Field ;
7
7
8
- import static org .junit .jupiter .api .Assertions .* ;
8
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
9
9
10
10
class ModifyWaitTimeSecondsTest {
11
+
11
12
@ DisplayName ("Should be able to modify SQSMessageConsumerPrefetch.WAIT_TIME_SECONDS via Reflection" )
12
13
@ Test
13
- void WaitTimeSecondsShouldBeModifiableViaReflection () throws NoSuchFieldException , IllegalAccessException {
14
+ public void waitTimeSecondsShouldBeModifiableViaReflection () throws NoSuchFieldException , IllegalAccessException {
14
15
Field wait_time_seconds = SQSMessageConsumerPrefetch .class .getDeclaredField ("WAIT_TIME_SECONDS" );
15
16
wait_time_seconds .setAccessible (true );
16
17
wait_time_seconds .setInt (null ,5 );
You can’t perform that action at this time.
0 commit comments