Constructor
new TestClass(name)
A test class that has a name property.
Parameters:
Name | Type | Description |
---|---|---|
name |
String | The name to be stored |
- Source:
Methods
update(newName)
Changes the stored name.
Parameters:
Name | Type | Description |
---|---|---|
newName |
String | The new name to be stored |
- Source: