I have a method with a single atomic operation, like this one

```
int value;

public void setValue(int value) {
    this.value = value;
}

```

then I call it in obvious way, like 

```
foo.setValue(10);

```

The question is: would it be atomic operation? If no, what atomic operations will be executed? How I can test this at my computer (if I can)?