Perhaps you should consider to make a @SpringBootTest with a local dynamodb if you want to rely on @MockBean and Spring injection.
@SpringBootTest