diff --git a/service-api/app/test/AppTest/Service/Aws/SecretsManagerFactoryTest.php b/service-api/app/test/AppTest/Service/Aws/SecretsManagerFactoryTest.php new file mode 100644 index 0000000000..fe9b426add --- /dev/null +++ b/service-api/app/test/AppTest/Service/Aws/SecretsManagerFactoryTest.php @@ -0,0 +1,34 @@ +prophesize(ContainerInterface::class); + + $containerProphecy->get(Sdk::class) + ->willReturn(new Sdk([ + 'region' => 'eu-west-1', + 'version' => 'latest', + ])); + + $factory = new SecretsManagerFactory(); + $client = $factory($containerProphecy->reveal()); + + $this->assertInstanceOf(SecretsManagerClient::class, $client); + } +} \ No newline at end of file