List of usage examples for org.apache.commons.lang RandomStringUtils randomAlphabetic
public static String randomAlphabetic(int count)
Creates a random string whose length is the number of characters specified.
Characters will be chosen from the set of alphabetic characters.
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testDependsOn() throws Exception { this.dependencyManagerSUT.dependsOn(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10)); }
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testDependsOnItemDoesNotExist() throws Exception { this.dependencyManagerSUT.dependsOn(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10)); }
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testDependsOnInvalidItemId() throws Exception { this.dependencyManagerSUT.dependsOn(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10)); }
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testDependsOnInvalidOperation() throws Exception { this.dependencyManagerSUT.dependsOn(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10)); }
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testDependentOn() throws Exception { this.dependencyManagerSUT.dependentOn(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10)); }
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testDependentOnItemDoesNotExist() throws Exception { this.dependencyManagerSUT.dependentOn(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10)); }
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testDependentOnInvalidItemId() throws Exception { this.dependencyManagerSUT.dependentOn(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10)); }
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testDependentOnInvalidOperation() throws Exception { this.dependencyManagerSUT.dependentOn(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10)); }
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testAdd() throws Exception { this.dependencyManagerSUT.add(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10), createItemListMock());/*from ww w . j a v a 2 s . c o m*/ }
From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java
@Test(expected = StudioException.class) public void testAddItemDoesNotExist() throws Exception { this.dependencyManagerSUT.add(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10), createItemListMock());/*w ww. j ava 2 s. c o m*/ }