GoogleCloudStorageSpec.php 605 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace spec\Gaufrette\Adapter;
  3. use PhpSpec\ObjectBehavior;
  4. class GoogleCloudStorageSpec extends ObjectBehavior
  5. {
  6. public function let(\Google_Service_Storage $service)
  7. {
  8. $this->beConstructedWith($service, 'bucketName');
  9. }
  10. public function it_is_adapter()
  11. {
  12. $this->shouldHaveType('Gaufrette\Adapter');
  13. }
  14. public function it_supports_metadata()
  15. {
  16. $this->shouldHaveType('Gaufrette\Adapter\MetadataSupporter');
  17. }
  18. public function it_is_list_keys_aware()
  19. {
  20. $this->shouldHaveType('Gaufrette\Adapter\ListKeysAware');
  21. }
  22. }