Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fmbenhassine committed Jun 30, 2023
1 parent 3d53990 commit 4b46b05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">
<b><em>Easy Random</em></b><br>
The simple, stupid random Java&trade; beans generator
The simple, stupid random Java&trade; objects generator
</div>

<div align="center">
Expand Down Expand Up @@ -31,7 +31,7 @@ for now. Please consider upgrading to one of these versions at your earliest con

# What is Easy Random ?

Easy Random is a library that generates random Java beans. You can think of it as an [ObjectMother](https://martinfowler.com/bliki/ObjectMother.html) for the JVM. Let's say you have a class `Person` and you want to generate a random instance of it, here we go:
Easy Random is a library that generates random Java objects. You can think of it as an [ObjectMother](https://martinfowler.com/bliki/ObjectMother.html) for the JVM. Let's say you have a class `Person` and you want to generate a random instance of it, here we go:

```java
EasyRandom easyRandom = new EasyRandom();
Expand Down Expand Up @@ -108,7 +108,7 @@ Address address = new Address(street, "123456", "London", "United Kingdom");
Person person = new Person("Foo", "Bar", "foo.bar@gmail.com", Gender.MALE, address);
```

And if these classes do not provide constructors with parameters (may be some legacy beans you can't change), you would write:
And if these classes do not provide constructors with parameters (may be some legacy types you can't change), you would write:

```java
Street street = new Street();
Expand Down

0 comments on commit 4b46b05

Please sign in to comment.