Joshua's training is called training in the detection of thoughts. This type of training is cognitive behavioral therapy, it implies that the patient is aware of the irrational thoughts, or the rumination of thought that he is doing, and that he understands that maintaining this type of thinking does not help him. By detecting these thoughts the patient learns to stop them and eliminate them. It is common training in this therapeutic technique in patients with depressive disorder or anxiety disorder.
This term came about at around 1854 (i want to say around that time period) and was resulted in political differences in the United States when we were abolishing slavery and how Kansas was contemplating on being a slave state of a free state. Many Antislavery people and Pro-slavery people clashed about this resulting in the spill of blood after the Kansas and Nebraska act (1854).
Personality, Temperament and Feelings... hopes this helps :)