### Question:
OssStorageResource implements WritableResource { public boolean isBucket() { return this.objectKey == null; } OssStorageResource(OSS oss, String location,
                              ConfigurableListableBeanFactory beanFactory);  OssStorageResource(OSS oss, String location,
                              ConfigurableListableBeanFactory beanFactory, boolean autoCreateFiles); boolean isAutoCreateFiles(); @Override boolean exists(); @Override URL getURL(); @Override URI getURI(); @Override File getFile(); @Override long contentLength(); @Override long lastModified(); @Override Resource createRelative(String relativePath); @Override String getFilename(); @Override String getDescription(); @Override InputStream getInputStream(); Bucket getBucket(); boolean bucketExists(); OSSObject getOSSObject(); boolean isBucket(); Bucket createBucket(); @Override boolean isWritable(); @Override OutputStream getOutputStream();  }### Answer:
@Test public void testBucketNotEndingInSlash() { assertThat( new OssStorageResource(this.oss, "oss: .isBucket()).isEqualTo(true); }